//
//  tabelViewOfLoginCell.m
//  mintHome
//
//  Created by 朱彦名 on 16/6/21.
//  Copyright © 2016年 朱彦名. All rights reserved.
//

#import "tabelViewOfLoginCell.h"

@implementation tabelViewOfLoginCell

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self configWithTableView];
        
        
    }
    return self;

}
- (void)configWithTableView{

    self.labelOfTable = [[UILabel alloc]initWithFrame:CGRectMake(60, 0, 200, 50)];
    [self.contentView addSubview:self.labelOfTable];
   // self.labelOfTable.backgroundColor = [UIColor redColor];
    

    
    
    
    self.image1 = [[UIImageView alloc]init];
    [self.contentView addSubview:self.image1];
    //self.image1.backgroundColor = [UIColor yellowColor];
    

}
- (void)layoutSubviews{
    [super layoutSubviews];
    
    self.image1.frame = CGRectMake(0, 0, 60, 50);
    

}















@end
